﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace MyWebApi.Api.Migrations
{
    public partial class 添加商品表种子数据ID非负 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "commodity",
                columns: new[] { "Id", "CreatedTime", "Introduce", "IsDeleted", "Remark", "Status", "UpdatedTime", "classifyId", "commodityName", "supplierId", "surfacePlot" },
                values: new object[,]
                {
                    { 1, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "稻花香 火鸡面网红泡面速食拉面干拌面炸酱面方便面韩式超辣6桶装", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "稻花香 火鸡面网红泡面速食拉面干拌面炸酱面方便面韩式超辣6桶装", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" },
                    { 2, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "大容量水杯女夏季网红大肚杯1000ml儿童吸管塑料杯子便携运动水壶", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "大容量水杯女夏季网红大肚杯1000ml儿童吸管塑料杯子便携运动水壶", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" },
                    { 3, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "蓝色泡泡袖短裙子法式复古设计感绑带盐系方领收腰公主仙女连衣裙", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "蓝色泡泡袖短裙子法式复古设计感绑带盐系方领收腰公主仙女连衣裙", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" },
                    { 4, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "陶瓷水果盘欧式三层点心盘蛋糕盘多层糕点盘客厅创意糖果托盘架子", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "陶瓷水果盘欧式三层点心盘蛋糕盘多层糕点盘客厅创意糖果托盘架子", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" },
                    { 5, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "【现货】忠犬小八梨形自制-屋檐雨-原创不规则刺绣浅色直筒牛仔裤", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "火鸡面网红泡面速食拉面干拌面炸酱面方便面韩式超辣6桶装", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" },
                    { 6, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "linjou玲玖赫本风小黑裙女夏季2021年新款小个子连衣裙洛丽塔裙子", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "linjou玲玖赫本风小黑裙女夏季2021年新款小个子连衣裙洛丽塔裙子", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" },
                    { 7, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "vivo TWS 2e真无线耳机新品蓝牙耳机iqoovivotws2e", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "vivo TWS 2e真无线耳机新品蓝牙耳机iqoovivotws2e", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" },
                    { 8, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "zakka木质首饰收纳盒十二格长方形分格化妆品复古桌面整理木盒子", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "zakka木质首饰收纳盒十二格长方形分格化妆品复古桌面整理木盒子", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" },
                    { 9, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "塑料厨房沥水篮晾放洗碗盘筷碟收纳架沥水碗架碗柜大号置物架用品", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "塑料厨房沥水篮晾放洗碗盘筷碟收纳架沥水碗架碗柜大号置物架用品", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" },
                    { 10, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "双耳铸铁炒锅平底电磁炉煤气灶家用炒菜锅炖锅无涂层不粘锅生铁锅", false, null, false, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, "双耳铸铁炒锅平底电磁炉煤气灶家用炒菜锅炖锅无涂层不粘锅生铁锅", 1, "https://detail.tmall.com/item.htm?id=646588464133&spm=a21bo.21814703.201876.3.53b011d9QRZEKi&scm=1007.34127.211940.0&pvid=00870ecd-a7ad-48b4-a9a3-57cf747ad6a5&sku_properties=5919063:6536025#" }
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 1);

            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 2);

            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 3);

            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 4);

            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 5);

            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 6);

            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 7);

            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 8);

            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 9);

            migrationBuilder.DeleteData(
                table: "commodity",
                keyColumn: "Id",
                keyValue: 10);
        }
    }
}
